projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fc8ad
)
gtk: mark gtk_no_selection_get_model nullable
author
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:56:07 +0000
(17:56 +0100)
committer
Bilal Elmoussaoui
<bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 16:56:07 +0000
(17:56 +0100)
The constructor is nullable so should the getter be
gtk/gtknoselection.c
patch
|
blob
|
history
diff --git
a/gtk/gtknoselection.c
b/gtk/gtknoselection.c
index 7727ccc00b79f286aa9ea810f6a0cb2fbf9aa869..9b48082d6a5c9870d35c0c9b4a40ca07e936483f 100644
(file)
--- a/
gtk/gtknoselection.c
+++ b/
gtk/gtknoselection.c
@@
-242,7
+242,7
@@
gtk_no_selection_new (GListModel *model)
*
* Gets the model that @self is wrapping.
*
- * Returns: (transfer none): The model being wrapped
+ * Returns: (transfer none)
(nullable)
: The model being wrapped
*/
GListModel *
gtk_no_selection_get_model (GtkNoSelection *self)